package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingLevelMapper
 * @Author loe
 * @Date 2024-07-09
 */

@Mapper
public interface NursingLevelMapper {

    List<NursingLevelVo> searchAll();

    void insert(NursingLevel nursingLevel);

    Page<NursingLevelVo> limitSearch(String name, Integer status);

    void update(NursingLevel nursingLevel);

    void delete(Long id);

    void setStatus(Long id, Integer status);

    NursingLevelVo getById(Long id);
}
